package com.fs.service.bo.shop;

import com.fs.entity.Shop;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
public class BoShop {
    private Integer id;
    private String name;
    private Double longitude;
    private Double latitude;

    public BoShop(Shop shop) {
        id = shop.getId();
        name = shop.getName();
        longitude = shop.getLongitude();
        latitude = shop.getLatitude();
    }
}
